package com.netease.web.dao;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import com.netease.web.pojo.Person;

@Repository
public interface PersonDao {
	
	@Select("select * from person where userName=#{userName}")
	public Person selectPersonByUserName(String userName);
	
	@Select("select * from person where id=#{userName}")
	public Person selectPersonById(int id);
}
